<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>导航栏</title>
    <style>
         body table{
            width: 100%;
        }
        body table tr th{
            min-width: 130px;
            text-align: left;
            text-indent: 5px;
            border: 1px solid #fff;
            background-color: #eee;
            color: #333;
            height: 35px;
            line-height: 35px;
        }
        body table tr th:last-child(1){
            min-width: 340px;
        }
    </style>
</head>
<body>
    <table>
        <thead>
            <tr>
                <th>
                    <input type="checkbox" onclick="all()">
                </th>
                <th>ID</th>
                <th>名称</th>
                <th>模型|链接</th>
                <th>显示</th>
                <th>排序</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
            {volist name="list" id="value"}
            <tr>
                <td>
                    <input type="checkbox" name="xuan" id="{$value.id}">
                </td>
                <td>{$value.id}</td>
                <td>{$value.title}</td>
                <td>{empty name="$value.url"}{$value.template}{else}{$value.url}{/empty}</td>
                <td>{$value.status_text}</td>
                <td>
                    {$value.sort}
                </td>
                <th>
                    <a href="/home/info/nav?id={$value.id}">修改</a>
                    <a href="javascript:;">删除</a>
                </th>
            </tr>
            {/volist}
        </tbody>
        <tfoot>
            <tr>
                <td colspan="8">
                </td>
            </tr>
        </tfoot>
    </table>
</body>
</html>